import static org.junit.Assert.*;

import org.junit.Test;



public class HelpTopicTest {

	@Test
	public void testJUnit(){
		assertTrue("Hope this not Minge", true);
	}
	
	@Test
	public void testHelpTopic(){
		assertNotNull(new HelpTopic ("minge", "No No No!"));
	}
	
	@Test
	public void testHelpTopicHasName(){
		HelpTopic minge = new HelpTopic("minge", "No");
		assertEquals("minge", minge.getName());
	}
	
	@Test
	public void testHelpTopicHasBody(){
		HelpTopic minge = new HelpTopic("minge", "No");
		assertEquals("No", minge.getBody());
	}
	
	@Test
	public void testHelpTopicDoesContainMinge(){
		HelpTopic minge = new HelpTopic("minge", "No");
		assertTrue(minge.contains("minge"));
	}
	
	@Test
	public void testHelpTopicDoesNotContainDrama(){
		HelpTopic minge = new HelpTopic("minge", "No");
		assertFalse(minge.contains("Drama"));
	}
}
